<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree" id="sidebar-menu" lay-filter="sidebar-menu">
            <c:forEach items="${fns:getMenuList()}" var="menu1">
                <c:if test="${menu1.isShow eq '0'}">
                    <li class="layui-nav-item">
                        <a class="" href="javascript:;">${menu1.name}</a>
                        <c:if test="${fn:length(menu1.subMenuList)>0}">
                            <dl class="layui-nav-child">
                                <c:forEach items="${menu1.subMenuList}" var="menu2">
                                    <c:if test="${menu2.isShow eq '0'}">
                                        <dd>
                                            <div class="left_menu_div">
                                                <a href="${ctx}${menu2.href}" class="left_child_menu" data-pjax >${menu2.name}</a>
                                                <img src="${ctxStatic}/modules/images/sub_menu.png" class="left_menu_img">
                                            </div></dd>
                                    </c:if>
                                </c:forEach>
                            </dl>
                        </c:if>
                    </li>
                </c:if>

            </c:forEach>
        </ul>
    </div>
</div>